<template>
		
	<button @click="fun">退出登录</button>
	
	
</template>

<script setup>
const fun = function(){
	
	uni.removeStorage({
	  key: 'stuInfo',
	  success() {
	    // 清除后跳转回登录页
	    uni.navigateTo({
	    	url:"/pages/loginIn/loginIn"
	    })
	  }
	});
	
}
</script>

<style lang="scss" scoped>
	
	
</style>
